home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8279 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  981 b 

  1. Path: unixg.ubc.ca!news
  2. From: Jennifer Gee <jgee@unixg.ubc.ca>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How to make this code portable?
  5. Date: 2 Mar 1996 21:55:11 GMT
  6. Organization: The University of British Columbia
  7. Message-ID: <4hag3v$5or@nntp.ucs.ubc.ca>
  8. References: <4h8k9j$78r@habs.ee.ubc.ca>
  9. NNTP-Posting-Host: pclab141-b.commerce.ubc.ca
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
  14.  
  15.  
  16. >However, on the PC, "*.txt" is passed into my program as
  17. >command line argument as is.  This means that I may have to
  18. >put in extra operating system dependent logic to expand the wildcard
  19. >inside my program.
  20.  
  21. >Ellen Ho
  22. >ellenh@ee.ubc.ca
  23.  
  24. You will have to use conditional compilation if you want to make this 
  25. portable, as you will have to write additional code(system("blah");) to 
  26. handle this problem.  That is the comp.lang.c answer anyways.
  27.  
  28. Ed
  29. etoivane@direct.ca
  30. (from my girlfriends account today)
  31.  
  32.